package com.lovegu.queue;

import java.util.concurrent.TimeUnit;

/**
 * <p>
 * 延迟队列接口
 * </p>
 *
 * @author 老顾
 * @since 2023/3/20
 */
public interface Delayed extends Comparable<Delayed>{

    long getDelay(TimeUnit unit);

}
